package character;

import java.io.File;

import org.newdawn.slick.Image;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.SpriteSheet;

import stages.Stairs;
import attack.yefi.YefiAttackGetter;
import framework.BasicFighter;
import framework.C;
import framework.NartanAnimationManager;

public class Yefi extends BasicFighter {
	
	public Yefi() {
		Image sprite = null;
		setWidth(400);
		setHeight(200);		
		try {
			sprite = new Image(C.ASSETS_CHAR_FOLDER + "Yefi" + File.separator + "sprites.png");
		} catch (SlickException e) {
			e.printStackTrace();
		}
		SpriteSheet sprites = new SpriteSheet(sprite, 384, 192, 0, 0);
		this.animations = new NartanAnimationManager(sprites);
		this.attacks = new YefiAttackGetter(this);
		setStage(new Stairs());	
	}
}
